let qr = require('qr-image');

const { BusiError, SysError } = require('../exception/exception');

class QrCodeService {
    constructor() {

    }

    getQrCodeStream(text){
        let img = qr.image(text,{size :10});
        return img;
    }
}

let qrCodeService = new QrCodeService();
module.exports = qrCodeService;
